﻿
<!--
/**************************************************
* @ orderreview.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/12, Simonyi Peng
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>

<%@page import="system.LoginContext"%>
<%@page import="framework.core.SrvContext"%>
<html>
<head>
<title>订单复审</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="<%=root%>/css/caigouxitong.css" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language=javascript src="<%=root%>/framework/js/datePicker/WdatePicker.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/string.js"></SCRIPT>
<%
ArrayList ary = (ArrayList)request.getAttribute("organdaddr");
%>
<script>
	var counter;
	<%
		//在此作出成功提示
		if(request.getAttribute("SUCCESSMSG") != null)
			out.print("alert('"+request.getAttribute("SUCCESSMSG")+"');");
	%>

	function process(val){

		if(val == 'Q'){
			orderreivewform.action = "<%=response.encodeURL(root+"/A100902.do")%>";
    		orderreivewform.submit();			
		}else if(val == 'T'){
			var indexs = document.getElementsByName("indexs");
			var isSelected = false;
			for(i=0;i<indexs.length;i++){
				if(indexs[i].checked )
					isSelected = true;
			}
			if(isSelected != true) {
				alert("请至少选择一笔申购单");
				return false;
			}

			if(confirm("是否确定复审通过？")){						
				document.pager.action = "<%=response.encodeURL(root+"/A100904.do")%>";
				document.all.confirmorreject.value='T';
                document.pager.method="post";			
				document.pager.submit();
			}else{
				return false;
			}

		}else if(val == 'TT'){
			var indexs = document.getElementsByName("indexs");
			var isSelected = false;
			for(i=0;i<indexs.length;i++){
				if(indexs[i].checked )
					isSelected = true;
			}
			if(isSelected != true) {
				alert("请至少选择一笔申购单");
				return false;
			}

			if(confirm("是否确定直接提交？")){						
				document.pager.action = "<%=response.encodeURL(root+"/A100904.do")%>";
				document.all.confirmorreject.value='TT';
                document.pager.method="post";
				document.pager.submit();
			}else{
				return false;
			}
		}
		/*
		else if(val == 'TP'){
			var indexs = document.getElementsByName("indexs");
			var isSelected = false;
			for(i=0;i<indexs.length;i++){
				if(indexs[i].checked )
					isSelected = true;
			}
			if(isSelected != true) {
				alert("请至少选择一笔申购单");
				return false;
			}

			if(confirm("是否确定直接提交？")){						
				document.pager.action = "<%=response.encodeURL(root+"/A100904.do")%>";
				document.all.confirmorreject.value='TP';			
				document.pager.submit();
			}else{
				return false;
			}
		}
		*/
		else if(val == 'F'){
			var indexs = document.getElementsByName("indexs");
				var selectednum = 0;
			var orderids = new Array();
			for(i=0;i<indexs.length;i++){
				if(indexs[i].checked ){
					orderids[selectednum] = indexs[i].value;
					selectednum++;
				}
			}
			if(selectednum > 1) {
				alert("请至多选择一笔申购单");
				return false;
			}
			if(selectednum < 1) {
				alert("请至少选择一笔申购单");
				return false;
			}

			if(confirm("是否确定复审不通过？")){
				goview("<%=response.encodeURL(root+"/A100903.do")%>?orderId="+orderids[0]);	
			}
			
		}
	}
	
	
	function goview(url){
		//window.open(url,null," edge: sunken ; center: Yes; help: No; resizable: Yes; status: No; width: 960px ; height: 800px ; scroll:yes");
		var result = null;	
		result = showModalDialog(url, window,"status:no;unadorned:no;dialogWidth:900px;dialogHeight:1200px;help:no;srcollbars:yes");
		//alert(result);
		if(result != null && result != "0"){
			//process('Q');
			document.pager.action = "<%=response.encodeURL(root+"/A100904.do")%>";			
			document.all.auditcontent.value = result;
			document.all.confirmorreject.value='F';
            document.pager.method="post";
			document.pager.submit();			
		}		
	}
	
	function cls(){

		document.all.orderId.value = "";
		document.all.orderDept.selectedIndex = 0;
		document.all.concentricityId.value = "";
		document.all.manufInfo.value = "";
		document.all.orderCreateDateStr.value = "";
		document.all.orderCreateDateEnd.value = "";
        document.all.drawingpiececode.value = "";
	}
</script>
</head>
<%
	GSOrderAuditQueryVO oaqVO = (GSOrderAuditQueryVO)session.getAttribute("QUERYCONDITION");
	ArrayList tOrderDeptList = (ArrayList)request.getAttribute("orderdept");
	ArrayList tDeliverGoodsAddr = (ArrayList)request.getAttribute("deliverGoodsAddr");
	ResultProcess tOrder = (ResultProcess)request.getAttribute("orderlist");
	ArrayList tList = new ArrayList();
	String [] tStr = null;
%>
<script language="javascript">
function afterload()
{
  fileopen("FAOrderList.vts");
 
  //填入内容
<%
    if(tOrder != null) {
	tList = tOrder.getAllRecoreds();
	
	int count = 0;
	int head = 0;
	int tail = 0;	
	if(tList != null && tList.size() > 0){
	for(int i=0; i<tList.size(); i++){
	  GSOrderVO tGSOrderVO = (GSOrderVO)tList.get(i);
	  head = count + 3;
%>	  
	  F1Book1.EntryRC ( <%=count + 3%>, 1) = "<%=tGSOrderVO.orderid%>";
	  F1Book1.EntryRC ( <%=count + 3%>, 2) = "<%=tGSOrderVO.category%>";
	  F1Book1.EntryRC ( <%=count + 3%>, 3) = "<%=tGSOrderVO.orderStatus%>";
<%	
	for(int j=0; j<tGSOrderVO.tList.size(); j++){
	  tStr = (String[])tGSOrderVO.tList.get(j);
	  if(j!=0) count = count +1;
%>	  
      F1Book1.RowHeight(<%=count + 3%>)  = 300;
	  F1Book1.EntryRC ( <%=count+3%>, 4) = "<%=tStr[0]%>";
	  F1Book1.EntryRC ( <%=count+3%>, 5) = "<%=tStr[1]%>";
	  F1Book1.EntryRC ( <%=count+3%>, 6) = "<%=StringUtils.escapeXML(tStr[2])%>";
	  F1Book1.EntryRC ( <%=count+3%>, 7) = "<%=tStr[3]%>";
	  F1Book1.EntryRC ( <%=count+3%>, 8) = "<%=tStr[4]%>";
	  F1Book1.EntryRC ( <%=count+3%>, 9) = "<%=tStr[5]%>";
<%	
     
    }
    
    tail = count + 3;
    if(head != tail) {
%>
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 1, <%=tail%>, 1);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 2, <%=tail%>, 2);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 3, <%=tail%>, 3);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
<%
    }
	count = count +1;	
  }
%>
  
 
   //边界设定
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(2, 1, <%=tail%>, 9);
  F1CellFormat.BorderStyle(-2) = 1;
  F1CellFormat.BorderStyle(-1) = 1;
  F1CellFormat.BorderStyle(0) = 2;
  F1CellFormat.BorderStyle(1) = 2;
  F1CellFormat.BorderStyle(2) = 2;
  F1CellFormat.BorderStyle(3) = 2;
  F1CellFormat.BorderColor(-2) = 0;
  F1CellFormat.BorderColor(-1) = 0;
  F1CellFormat.BorderColor(0) = 0;
  F1CellFormat.BorderColor(1) = 0;
  F1CellFormat.BorderColor(2) = 0;
  F1CellFormat.BorderColor(3) = 0;
  F1Book1.SetCellFormat(F1CellFormat);
  
  //设置字体
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(3, 1, <%=tail%>, 9);
  F1CellFormat.AlignHorizontal = 2;
  F1CellFormat.AlignVertical = 2;
  F1CellFormat.FontName = "宋体";
  F1CellFormat.FontSize = 8;
  F1Book1.SetCellFormat(F1CellFormat);
<%
	}
  }
%>
}

function fileopen(vts)
{
        var mylink=location.href;
        var i=mylink.length;
        while (mylink.substring(i-1,i)!= "/")
        {i--;}
        mylink=mylink.substring(0,i);
        F1Book1.URL = mylink+"jsp/ordersystem/"+vts;
        F1Book1.ShowRowHeading  = false;
        F1Book1.ShowcolHeading  = false;
        F1Book1.Showtabs  = 0;
        F1Book1.ShowEditBar=false;
        F1Book1.EnableProtection=false;
        F1Book1.SetProtection(true,true);
}

function print_bill(){
    F1Book1.FilePrint(true);
}
</script>
<body BGCOLOR="#f5f5f5"	text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="<%if("T".equals(request.getAttribute("ISQUERYCONDITIONEXIST"))){out.println("process('Q')");}%>">

<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr height="20">
          <td height="20" width="1" class="mtxt_black">&nbsp;</td>
          <td height="30" width="758" class="mtxt_black">申购单复审</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bg_line" height="2"></td>
  </tr>
</table>

<br>

<%String warehouseCode = oaqVO==null?"":oaqVO.deptId; %>
<form name="orderreivewform" method="get" >
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center>申购单编号</TD>
					<TD align=left class="bg_row_odd">
					<input type="text" name="orderId" maxlength="20" value="<%=oaqVO==null?"":oaqVO.orderId%>">
					</TD>	
					<TD class="bg_column" align=center>订货单位</TD>
					<TD align=left class="bg_row_odd">
                        <select id='orderDept' name='orderDept'>
                            <option value="<%=LoginContext.get(new SrvContext(request,response)).getLoginWarehouseCode() %>">---全部---</option>
                            <%
                              if(ary!=null&&ary.size()>0){
                                 for(int i=0;i<ary.size();i++){ 
                                     GSWareHouseBean tmp=(GSWareHouseBean)ary.get(i);%>
                                    <%if(tmp.getCode().equals(warehouseCode)){ %>
                                        <option value="<%=tmp.getCode() %>" selected><%=tmp.getName() %></option>
                                    <%}else{ %>
                                    <option value="<%=tmp.getCode() %>"><%=tmp.getName() %></option>
                            <%}}} %>                
                        </select>
                    </TD>                   		
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center>集中编码</TD>
					<TD align=left class="bg_row_odd">
					<input type="text" name="concentricityId" maxlength="20" value="<%=oaqVO==null?"":oaqVO.concentricityId%>">
					</TD>
                    <td class="bg_column" align=center>图件号</td>
                    <td align=left class="bg_row_odd" >
                    <input type="text" name="drawingpiececode" value="<%=request.getParameter("drawingpiececode")==null?"":request.getParameter("drawingpiececode") %>">
                    </td> 
				</TR>									
				<TR height=20>
					<TD class="bg_column" align=center>产品信息</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<input type="text" name="manufInfo" maxlength="200" value="<%=oaqVO==null?"":oaqVO.manufInfo %>">（<FONT color="#ff0033">对产品名称、型号、规格、品牌、生产厂商、附加属性等关键字的模糊查询</FONT>）&nbsp;
					</TD>
				</TR>
                <%
                SimpleDateFormat bartDateFormat = new SimpleDateFormat("yyyy-MM-dd");
                Date d = new Date();
                String strNow = String.valueOf(bartDateFormat.format(d));
                long l=(long)259200*(long)10000;
                Date d2 = new Date(System.currentTimeMillis()-l);
                String strMothAgo = String.valueOf(bartDateFormat.format(d2));
                
                %>									
				<TR height=20>	
					<TD class="bg_column" align=center>创建时间</TD>
					<TD align=left class="bg_row_odd" >
					<%=framework.custom.UIManager.generateDateInput("orderCreateDateStr",
							oaqVO==null?strMothAgo:oaqVO.beginDate )%>
					至
					<%=framework.custom.UIManager.generateDateInput("orderCreateDateEnd",
							oaqVO==null?strNow:oaqVO.endDate )%>
					</TD>
					<TD class="bg_column" align=center>是否申沃售后服务部</TD>
					<TD align=left class="bg_row_odd">
                        <select id='isSW' name='isSW'>
                        <%
                          if(oaqVO==null||oaqVO.isSW==null){
                        %>
                         <option value="0" selected>---否---</option>
                         <option value="1" >---是---</option>    
                        <%	  
                          }else if(oaqVO.isSW.equals("1")){
                        %> <option value="1" selected>---是---</option>   
                        	  <option value="0" >---否---</option>
                        <%   
                          }else{
                        %> <option value="1" >---是---</option>   
                           <option value="0" selected >---否---</option>
                        <%    
                          }
                        %>            
                        </select>
                    </TD>             
					
				</TR>	
			</table>
		</td>
	</tr>
</table>
<%if(tOrder != null){
        int totalRecords = 0;
        int defaultPageSize = 10;
        totalRecords = tOrder.getRecordsSize();
%>          
<page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'>
<%tList = tOrder.getDisplayRecords(index.intValue(),pageSize.intValue()); %>
</page:pager>
<%} %>
</form>
    <p align="center">  
		<input type="button" class="kuang" width="58" height="24" value="查询" onclick="process('Q')"/>&nbsp;
		<input type="button" class="kuang" width="58" height="24" value="清空" onclick="cls()"/>
    </p>
<%
	
	if(tOrder != null){
%>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post">
			<input type="hidden" name='confirmorreject'>
            <input type='hidden' name='auditcontent' >
            	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20> 
                    	<td></td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">申购单编号</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">创建时间</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">订货单位</div>
						</td>									
						<td class=top align=center> 
                        <div align="center" class="txt_content">配送方式</div>
						</td>									
						<td class=top align=center> 
                        <div align="center" class="txt_content">结算方式</div>
						</td>						
						<td class=top align=center> 
                        <div align="center" class="txt_content">申购单明细编号</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">明细状态</div>
						</td>		
                        <td class=top align=center> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
						<td class=top align=center> 
                        <div align="center" class="txt_content">供应商</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">规格</div>
						</td>									
						<td class=top align=center> 
                        <div align="center" class="txt_content">型号</div>
						</td>									
						<td class=top align=center> 
                        <div align="center" class="txt_content">品牌</div>
						</td>						
						<td class=top align=center> 
                        <div align="center" class="txt_content">质保期</div>
						</td>	
                        <td class=top align=center> 
                        <div align="center" class="txt_content">图件号</div>
                        </td>
						<td class=top align=center> 
                        <div align="center" class="txt_content">价格（元）</div>
						</td>				
                        <td class=top align=center> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">结算模式</div>
                        </td>																																				
                        <td class=top align=center> 
                        <div align="center" class="txt_content">详细</div>
						</td>																														
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
//							String[] tStr = (String[])tList.get(i);
							GSOrderVO tGSOrderVO = (GSOrderVO)tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
							int size = 0;
					%>
							<tr <%=tTempStr%> height=20>
					<%
							size = tGSOrderVO.tList.size();
							tStr = (String[])tGSOrderVO.tList.get(0);
							    
					%>
								<td class=top align=center rowspan="<%=size %>"> 
									<div align="center" class="txt_content">
									<input type="checkbox" name="indexs" value="<%=tGSOrderVO.orderid%>">
									</div>
								</td>			
								<td class=top align=center rowspan="<%=size %>" nowrap> 								
									<div align="center" class="txt_content">
									<%
										System.out.println("---" + tGSOrderVO.orderid);
									%>
									<%=tGSOrderVO.orderid%>
									</div>
								</td>	
								<td class=top align=center rowspan="<%=size%>"> 
									<div align="center" class="txt_content">
									<%=tGSOrderVO.orderCreateDate%>
									</div>
								</td>	
								<td class=top align=center rowspan="<%=size %>"> 								
									<div align="center" class="txt_content">
									<%=tGSOrderVO.orderDeptName%>
									</div>
								</td>	
								<td class=top align=center rowspan="<%=size %>"> 								
									<div align="center" class="txt_content">
									<%=tGSOrderVO.deliverMode%>
									</div>
								</td>	
								<td class=top align=center rowspan="<%=size %>"> 								
									<div align="center" class="txt_content">
									<%=tGSOrderVO.balanceMode%>
									</div>
								</td>	
								<td class=top align=center nowrap> 
									<div align="center" class="txt_content">
									<%=tStr[6]%>
									</div>
								</td>
								<td class=top align=center nowrap> 
									<div align="center" class="txt_content">
									<%=GSBaseManager.getOrderStatusName(tStr[7])%>
									</div>
								</td>
								<td class=top align=center nowrap> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A100306.do")%>?concentricityId=<%=tStr[0]%>" target=_blank><%=tStr[1]%></a>
									</div>
								</td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[10]%>
									</div>
								</td>								
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>								
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>															
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>			
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[9]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[12]%>
                                    </div>
                                </td>	
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[8]%>
									</div>
								</td>													
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[5]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[11]%>
                                    </div>
                                </td>	
								<td class=top align=center rowspan="<%=size %>"> 
									<div align="center" class="txt_content">
										<a href="#" onclick='goview("<%=response.encodeURL(root+"/A100206.do")%>?orderId=<%=tGSOrderVO.orderid%>")'>详细</a>
									</div>
								</td>																																								
							</tr> 
						
							
					<%	
								for(int j=1; j<tGSOrderVO.tList.size(); j++){
								    tStr = (String[])tGSOrderVO.tList.get(j);
					%>
							<tr <%=tTempStr%> align=center>
								<td class=top align=center nowrap> 
									<div align="center" class="txt_content">
									<%=tStr[6]%>
									</div>
								</td>
								<td class=top align=center nowrap> 
									<div align="center" class="txt_content">
									<%=GSBaseManager.getOrderDetailStatusName(tStr[7])%>
									</div>
								</td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A100306.do")%>?concentricityId=<%=tStr[0]%>" target=_blank><%=tStr[1]%></a>
									</div>
								</td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[10]%>
									</div>
								</td>								
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>								
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>															
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>		
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[9]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[12]%>
                                    </div>
                                </td>   
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[8]%>
									</div>
								</td>														
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[5]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[11]%>
                                    </div>
                                </td>	
							</tr> 
					<%
								}
							}
					%>
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="20" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm="orderreivewform"/>
						    </td>
                          </tr>
						  
				    <%
						}else{
					%>
							<tr class="bg_column" height=20>
                            <td width="960" height="16" colspan="20" align="center">
                               <font color="red">没有符合条件的申购单信息,请重新输入查询条件</font>
                            </td>
                           </tr>
					<%
						}
					%>
					</tbody>
				</table>
				</form>					  
			</td>
		</tr>
	</table>
	</center>
	<p align="center">
    	<input type="button" class="kuang" name="提交" value="复审通过" onclick="process('T')">
    	<input type="button" class="kuang" name="驳回" value="复审不通过" onclick="process('F')">    	
<!--		<input type="button" class="kuang" name="驳回" value="打印待审核清单" onclick="if(confirm('是否确定打印？')) print_bill(); else return false;"/>-->
    </p>
	
<%		
	}
	if(tOrder == null && request.getAttribute("ISQUERYCONDITIONEXIST") != null && request.getAttribute("ISQUERYCONDITIONEXIST").equals("T")){
%>
		<font size="2">数据查询中......</font>
<%
	}	
%>
</body>
</html>